<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>风险管理系统 - 官方网站</title>
    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/fontawesome.min.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/solid.min.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/brands.min.css">
    <!-- 自定义样式 -->
    <style>
        :root {
            --primary-color: #3498db;
            --secondary-color: #2c3e50;
            --accent-color: #e74c3c;
            --light-color: #f8f9fa;
            --dark-color: #343a40;
        }
        body {
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
            color: #333;
            line-height: 1.6;
            padding-top: 56px; /* 为固定导航栏留出空间 */
        }
        .bg-gradient-primary {
            background: linear-gradient(135deg, var(--primary-color) 0%, #5b86e5 100%);
        }
        .hero-section {
            padding: 6rem 0;
            background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), 
                        url('https://images.unsplash.com/photo-1504868584819-f8e8b4b6d7e3?ixlib=rb-4.0.3');
            background-size: cover;
            background-position: center;
            color: white;
            position: relative;
        }
        .hero-text {
            max-width: 650px;
        }
        .feature-card {
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 6px 15px rgba(0,0,0,0.1);
            height: 100%;
            transition: all 0.3s ease;
        }
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }
        .feature-icon {
            width: 70px;
            height: 70px;
            background-color: rgba(52, 152, 219, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
        }
        .feature-icon i {
            font-size: 30px;
            color: var(--primary-color);
        }
        .stat-card {
            background-color: white;
            border-radius: 8px;
            padding: 2rem;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
            position: relative;
            z-index: 1;
            height: 100%;
        }
        .stat-card .icon {
            position: absolute;
            top: 1rem;
            right: 1rem;
            font-size: 3rem;
            opacity: 0.1;
            z-index: -1;
        }
        .stat-card .number {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }
        .stat-card .title {
            font-size: 1rem;
            color: #6c757d;
        }
        .testimonial {
            background-color: white;
            border-radius: 8px;
            padding: 2rem;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
            position: relative;
        }
        .testimonial::after {
            content: '"';
            position: absolute;
            top: 0;
            right: 20px;
            font-size: 5rem;
            font-family: serif;
            color: rgba(52, 152, 219, 0.1);
            line-height: 1;
        }
        .footer {
            background-color: var(--secondary-color);
            color: white;
            padding: 4rem 0 2rem;
        }
        .footer-brand {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }
        .footer-links h5 {
            font-size: 1.1rem;
            margin-bottom: 1.2rem;
        }
        .footer-links ul {
            list-style: none;
            padding-left: 0;
        }
        .footer-links li {
            margin-bottom: 0.5rem;
        }
        .footer-links a {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            transition: color 0.3s;
        }
        .footer-links a:hover {
            color: white;
        }
        .copyright {
            text-align: center;
            margin-top: 3rem;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: rgba(255,255,255,0.6);
        }
        .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }
        .btn-primary:hover {
            background-color: #2980b9;
            border-color: #2980b9;
        }
        .btn-outline-light:hover {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }
        .navbar {
            padding: 1rem 0;
            transition: all 0.3s ease;
        }
        .navbar-scrolled {
            box-shadow: 0 3px 10px rgba(0,0,0,0.15);
            padding: 0.5rem 0;
        }
        .nav-link {
            font-weight: 500;
            padding: 0.5rem 1rem !important;
            border-radius: 4px;
            transition: all 0.3s;
            margin: 0 0.25rem;
        }
        .nav-link:hover {
            background-color: rgba(255,255,255,0.1);
        }
        .nav-link.active {
            background-color: var(--primary-color);
            color: white !important;
        }
        .navbar-brand {
            font-weight: 700;
            font-size: 1.5rem;
        }
        .cta-section {
            background-color: var(--primary-color);
            color: white;
            padding: 5rem 0;
        }
        /* 动画效果 */
        .fade-in {
            animation: fadeIn 1s ease-in;
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        /* 响应式调整 */
        @media (max-width: 992px) {
            .hero-section {
                padding: 4rem 0;
            }
            .navbar-nav {
                margin-top: 1rem;
            }
            .nav-item {
                margin-bottom: 0.5rem;
            }
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-expand-lg navbar-dark bg-gradient-primary fixed-top">
        <div class="container">
            <a class="navbar-brand" href="/risk-management/">
                <i class="fa-solid fa-shield-halved me-2"></i>风险管理系统
            </a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" 
                    aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav ms-auto">
                    <li class="nav-item">
                        <a class="nav-link active" href="/risk-management/">首页</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#features">功能特点</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#statistics">数据统计</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#testimonials">用户评价</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link btn btn-outline-light ms-2" href="/risk-management/login">登录</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link btn btn-light text-primary ms-2" href="/risk-management/register">注册</a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>

    <!-- 英雄区域 -->
    <section class="hero-section">
        <div class="container">
            <div class="row align-items-center">
                <div class="col-lg-7 hero-text fade-in">
                    <h1 class="display-4 fw-bold mb-4">高效的项目风险管理解决方案</h1>
                    <p class="lead mb-4">帮助您的团队识别、分析、应对和监控项目中的各种风险，确保项目顺利进行。</p>
                    <div class="d-flex gap-3">
                        <a href="/risk-management/login" class="btn btn-primary btn-lg px-4 py-2">立即登录</a>
                        <a href="/risk-management/register" class="btn btn-outline-light btn-lg px-4 py-2">免费注册</a>
                    </div>
                </div>
                <div class="col-lg-5 d-none d-lg-block">
                    <img src="https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxzZWFyY2h8M3x8cmlzayUyMG1hbmFnZW1lbnR8ZW58MHx8MHx8&auto=format&fit=crop&w=600&q=60" 
                         class="img-fluid rounded-lg" alt="风险管理">
                </div>
            </div>
        </div>
    </section>

    <!-- 功能特点 -->
    <section id="features" class="py-5">
        <div class="container py-5">
            <div class="text-center mb-5">
                <h2 class="fw-bold">全面的风险管理功能</h2>
                <p class="lead text-secondary">专为项目管理者设计的一站式风险管理平台</p>
            </div>
            <div class="row g-4">
                <div class="col-md-6 col-lg-4">
                    <div class="feature-card p-4">
                        <div class="feature-icon">
                            <i class="fa-solid fa-magnifying-glass"></i>
                        </div>
                        <h4>风险识别</h4>
                        <p class="text-secondary">全面识别项目中可能存在的各类风险，建立风险库，提前防范。</p>
                        <ul class="mb-0 text-secondary">
                            <li>自定义风险类型和分类</li>
                            <li>风险模板库</li>
                            <li>团队协作风险识别</li>
                        </ul>
                    </div>
                </div>
                <div class="col-md-6 col-lg-4">
                    <div class="feature-card p-4">
                        <div class="feature-icon">
                            <i class="fa-solid fa-chart-column"></i>
                        </div>
                        <h4>风险评估</h4>
                        <p class="text-secondary">对风险进行定性和定量分析，评估风险影响程度和优先级。</p>
                        <ul class="mb-0 text-secondary">
                            <li>风险概率矩阵</li>
                            <li>风险影响评分</li>
                            <li>自动计算风险等级</li>
                        </ul>
                    </div>
                </div>
                <div class="col-md-6 col-lg-4">
                    <div class="feature-card p-4">
                        <div class="feature-icon">
                            <i class="fa-solid fa-shield-halved"></i>
                        </div>
                        <h4>风险应对</h4>
                        <p class="text-secondary">制定风险应对计划，分配责任人，跟踪实施效果。</p>
                        <ul class="mb-0 text-secondary">
                            <li>多种应对策略</li>
                            <li>责任人分配</li>
                            <li>响应计划跟踪</li>
                        </ul>
                    </div>
                </div>
                <div class="col-md-6 col-lg-4">
                    <div class="feature-card p-4">
                        <div class="feature-icon">
                            <i class="fa-solid fa-chart-line"></i>
                        </div>
                        <h4>风险监控</h4>
                        <p class="text-secondary">实时监控风险状态，及时了解风险变化趋势。</p>
                        <ul class="mb-0 text-secondary">
                            <li>风险仪表盘</li>
                            <li>定期风险审查</li>
                            <li>风险状态追踪</li>
                        </ul>
                    </div>
                </div>
                <div class="col-md-6 col-lg-4">
                    <div class="feature-card p-4">
                        <div class="feature-icon">
                            <i class="fa-solid fa-users"></i>
                        </div>
                        <h4>团队协作</h4>
                        <p class="text-secondary">多人协作识别和管理风险，提高团队风险意识。</p>
                        <ul class="mb-0 text-secondary">
                            <li>角色权限管理</li>
                            <li>实时消息通知</li>
                            <li>团队风险讨论</li>
                        </ul>
                    </div>
                </div>
                <div class="col-md-6 col-lg-4">
                    <div class="feature-card p-4">
                        <div class="feature-icon">
                            <i class="fa-solid fa-file-lines"></i>
                        </div>
                        <h4>报告与分析</h4>
                        <p class="text-secondary">生成专业的风险报告，为决策提供数据支持。</p>
                        <ul class="mb-0 text-secondary">
                            <li>多种报表模板</li>
                            <li>数据可视化</li>
                            <li>风险分析导出</li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- 数据统计 -->
    <section id="statistics" class="py-5 bg-light">
        <div class="container py-5">
            <div class="text-center mb-5">
                <h2 class="fw-bold">系统数据统计</h2>
                <p class="lead text-secondary">值得信赖的风险管理平台</p>
            </div>
            <div class="row g-4">
                <div class="col-md-6 col-lg-3">
                    <div class="stat-card">
                        <i class="fa-solid fa-diagram-project icon"></i>
                        <div class="number">500+</div>
                        <div class="title">项目管理</div>
                    </div>
                </div>
                <div class="col-md-6 col-lg-3">
                    <div class="stat-card">
                        <i class="fa-solid fa-triangle-exclamation icon"></i>
                        <div class="number">10,000+</div>
                        <div class="title">风险识别</div>
                    </div>
                </div>
                <div class="col-md-6 col-lg-3">
                    <div class="stat-card">
                        <i class="fa-solid fa-user-shield icon"></i>
                        <div class="number">95%</div>
                        <div class="title">风险应对率</div>
                    </div>
                </div>
                <div class="col-md-6 col-lg-3">
                    <div class="stat-card">
                        <i class="fa-solid fa-users icon"></i>
                        <div class="number">2,000+</div>
                        <div class="title">活跃用户</div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- 用户评价 -->
    <section id="testimonials" class="py-5">
        <div class="container py-5">
            <div class="text-center mb-5">
                <h2 class="fw-bold">用户评价</h2>
                <p class="lead text-secondary">听听其他用户怎么说</p>
            </div>
            <div class="row g-4">
                <div class="col-md-4">
                    <div class="testimonial">
                        <div class="mb-3">
                            <i class="fa-solid fa-star text-warning"></i>
                            <i class="fa-solid fa-star text-warning"></i>
                            <i class="fa-solid fa-star text-warning"></i>
                            <i class="fa-solid fa-star text-warning"></i>
                            <i class="fa-solid fa-star text-warning"></i>
                        </div>
                        <p class="mb-3">"这个风险管理系统帮我们团队提前识别了多个关键风险，避免了项目延期。界面友好，功能强大！"</p>
                        <div class="d-flex align-items-center">
                            <strong>张经理</strong>
                            <span class="mx-2">|</span>
                            <span class="text-secondary">软件开发公司</span>
                        </div>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="testimonial">
                        <div class="mb-3">
                            <i class="fa-solid fa-star text-warning"></i>
                            <i class="fa-solid fa-star text-warning"></i>
                            <i class="fa-solid fa-star text-warning"></i>
                            <i class="fa-solid fa-star text-warning"></i>
                            <i class="fa-solid fa-star text-warning"></i>
                        </div>
                        <p class="mb-3">"系统的数据分析功能非常强大，让我们清晰地看到各类风险的分布情况，为决策提供了有力支持。"</p>
                        <div class="d-flex align-items-center">
                            <strong>李总监</strong>
                            <span class="mx-2">|</span>
                            <span class="text-secondary">建筑工程公司</span>
                        </div>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="testimonial">
                        <div class="mb-3">
                            <i class="fa-solid fa-star text-warning"></i>
                            <i class="fa-solid fa-star text-warning"></i>
                            <i class="fa-solid fa-star text-warning"></i>
                            <i class="fa-solid fa-star text-warning"></i>
                            <i class="fa-solid fa-star-half-alt text-warning"></i>
                        </div>
                        <p class="mb-3">"作为项目经理，这个系统让我能够实时掌握项目风险状况，团队协作功能也很实用，推荐使用！"</p>
                        <div class="d-flex align-items-center">
                            <strong>王项目经理</strong>
                            <span class="mx-2">|</span>
                            <span class="text-secondary">互联网企业</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- 行动召唤 -->
    <section class="cta-section">
        <div class="container text-center">
            <h2 class="display-5 fw-bold mb-4">准备好开始管理您的项目风险了吗？</h2>
            <p class="lead mb-4">加入我们的平台，提高项目成功率，让风险管理变得简单高效</p>
            <div class="d-flex justify-content-center gap-3">
                <a href="/risk-management/register" class="btn btn-light btn-lg px-4 py-2">免费注册</a>
                <a href="/risk-management/login" class="btn btn-outline-light btn-lg px-4 py-2">立即登录</a>
            </div>
        </div>
    </section>

    <!-- 页脚 -->
    <footer class="footer">
        <div class="container">
            <div class="row">
                <div class="col-lg-4 mb-4 mb-lg-0">
                    <div class="footer-brand">
                        <i class="fa-solid fa-shield-halved me-2"></i>风险管理系统
                    </div>
                    <p>专业的项目风险管理平台，助力项目成功，降低风险损失。</p>
                    <div class="d-flex gap-3 mt-3">
                        <a href="#" class="text-white"><i class="fa-brands fa-weixin fa-lg"></i></a>
                        <a href="#" class="text-white"><i class="fa-brands fa-weibo fa-lg"></i></a>
                        <a href="#" class="text-white"><i class="fa-solid fa-envelope fa-lg"></i></a>
                    </div>
                </div>
                <div class="col-lg-2 col-md-4 mb-4 mb-md-0 footer-links">
                    <h5>功能</h5>
                    <ul>
                        <li><a href="#">风险识别</a></li>
                        <li><a href="#">风险评估</a></li>
                        <li><a href="#">风险应对</a></li>
                        <li><a href="#">风险监控</a></li>
                    </ul>
                </div>
                <div class="col-lg-2 col-md-4 mb-4 mb-md-0 footer-links">
                    <h5>资源</h5>
                    <ul>
                        <li><a href="#">用户手册</a></li>
                        <li><a href="#">帮助中心</a></li>
                        <li><a href="#">API文档</a></li>
                        <li><a href="#">常见问题</a></li>
                    </ul>
                </div>
                <div class="col-lg-2 col-md-4 mb-4 mb-md-0 footer-links">
                    <h5>关于我们</h5>
                    <ul>
                        <li><a href="#">公司介绍</a></li>
                        <li><a href="#">联系我们</a></li>
                        <li><a href="#">合作伙伴</a></li>
                        <li><a href="#">招贤纳士</a></li>
                    </ul>
                </div>
                <div class="col-lg-2 footer-links">
                    <h5>法律</h5>
                    <ul>
                        <li><a href="#">隐私政策</a></li>
                        <li><a href="#">服务条款</a></li>
                        <li><a href="#">安全说明</a></li>
                    </ul>
                </div>
            </div>
            <div class="copyright">
                <p>© 2023 风险管理系统. 保留所有权利.</p>
            </div>
        </div>
    </footer>

    <!-- JavaScript -->
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
    <script>
        // 导航栏滚动效果
        window.addEventListener('scroll', function() {
            const navbar = document.querySelector('.navbar');
            if (window.scrollY > 100) {
                navbar.classList.add('navbar-scrolled');
            } else {
                navbar.classList.remove('navbar-scrolled');
            }
        });

        // 平滑滚动
        document.querySelectorAll('a[href^="#"]').forEach(anchor => {
            anchor.addEventListener('click', function (e) {
                e.preventDefault();
                const targetId = this.getAttribute('href');
                const targetElement = document.querySelector(targetId);
                if (targetElement) {
                    targetElement.scrollIntoView({
                        behavior: 'smooth'
                    });
                }
            });
        });
    </script>
</body>
</html>